<template>
	<view>
		<view class="" v-show="seen">seen</view>
		<swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000">
			<swiper-item>
				<view class="swiper-item">A</view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item">B</view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item">C</view>
			</swiper-item>
		</swiper>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				seen:true,
			}
		},
		methods: {
			
		},
		onLoad(){
			console.log("页面初始化 执行一次")
		},
		onReady(){
			console.log("页面记载完毕 执行一次")
		}
		,onShow() {
			console.log("页面进入 执行多次")
		},
		onHide() {
			console.log("页面离开 执行多次")
		},
		onPullDownRefresh(){
			console.log("用户执行了下拉");
		}
	}
</script>

<style>

</style>
